GTK_CSS_PARSER_ERROR_SYNTAX,
format, args);
gtk_css_parser_emit_error (self,
- &self->location,
- gtk_css_tokenizer_get_location (self->tokenizer),
+ gtk_css_parser_get_start_location (self),
+ gtk_css_parser_get_end_location (self),
error);
g_error_free (error);
va_end (args);
GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE,
format, args);
gtk_css_parser_emit_error (self,
- &self->location,
- gtk_css_tokenizer_get_location (self->tokenizer),
+ gtk_css_parser_get_start_location (self),
+ gtk_css_parser_get_end_location (self),
error);
g_error_free (error);
va_end (args);
GTK_CSS_PARSER_ERROR_IMPORT,
format, args);
gtk_css_parser_emit_error (self,
- &self->location,
- gtk_css_tokenizer_get_location (self->tokenizer),
+ gtk_css_parser_get_start_location (self),
+ gtk_css_parser_get_end_location (self),
error);
g_error_free (error);
va_end (args);
GTK_CSS_PARSER_WARNING_SYNTAX,
format, args);
gtk_css_parser_emit_error (self,
- &self->location,
- gtk_css_tokenizer_get_location (self->tokenizer),
+ gtk_css_parser_get_start_location (self),
+ gtk_css_parser_get_end_location (self),
error);
g_error_free (error);
va_end (args);